<?php
	require_once "../../sesi_login.php";
	require_once "../../konfigurasi.php";
	if(isset($_GET['url']) && isset($_GET['id'])){
		koneksi_buka();
		
		$url 	= $_GET['url'];
		$id 	= $_GET['id'];
		$update_pemberitahuan = mysql_query("update t_pemberitahuan set terbaca='y' where kd_pemberitahuan=$id");
		koneksi_tutup();
		header("Location:../../".$url);
	}
	
?>
